package com.link2room.optimus.config.descript;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by sss on 2017/3/29.
 */
@Configuration
@ConfigurationProperties(prefix = "pricePool")
@PropertySource("classpath:optimus-mapping-descript.properties")
public class PricePoolDescriptConfiguration {
    public static Map<String, String> carryType = new HashMap<>();

    public Map<String, String> getCarryType() {
        return carryType;
    }

    public void setCarryType(Map<String, String> carryType) {
        PricePoolDescriptConfiguration.carryType = carryType;
    }
}
